const api = {
    // 验证API URL配置（从 ipURLConfig.js 中直接加载）
    async loadApiConfig(){
        console.log('验证API URL配置:')
        console.log('- Chat Assistant URL:', window.chatAssistant_URL || '未设置')
        console.log('- Science Chat URL:', window.ScienceChat_URL || '未设置')
        console.log('- Professional Chat URL:', window.professionalChat_URL || '未设置')
        
        if (!window.chatAssistant_URL || !window.ScienceChat_URL || !window.professionalChat_URL) {
            console.warn('部分API URL未在 ipURLConfig.js 中配置')
        } else {
            console.log('✓ 所有API URL配置已加载')
        }
    }
}

export default api